import request from '@/utils/request'

// 查询PcwlShop列表
export function loadDataList(query) {
	return request({
		url: '/pcwlShop/loadDataList',
		method: 'get',
		params: query
	})
}
// 新增PcwlShop
export function addPcwlShop(data) {
	return request({
		url: '/pcwlShop/add',
		method: 'post',
		data: data
	})
}
//查询PcwlShop详细
export function getPcwlShopById(pcwlShopId) {
	return request({
		url: '/pcwlShop/getPcwlShopById/' + pcwlShopId,
		method: 'get',
	})
}
//修改PcwlShop
export function updatePcwlShopById(data,pcwlShopId) {
	return request({
		url: '/pcwlShop/updatePcwlShopById/'+pcwlShopId,
		method: 'put',
		data: data
	})
}
//删除PcwlShop
export function delPcwlShopById(pcwlShopId) {
	return request({
		url: '/pcwlShop/deletePcwlShopById/'+pcwlShopId,
		method: 'delete',
	})
}
